1
general::
Phrase(s): know someone or something like the palm of one’s hand [and] know someone or something like the back of one’s hand; know someone or something like a book
to know someone or something very well. • Of course I know John. I know him like the back of my hand. • I know him like a book.
McGrawhill's American Idioms And Phrasal Verbs